﻿using System;
using FreeSql.DataAnnotations;

namespace Colorful.Furniture.IEntity;

/// <summary>
///  软删除
/// </summary>
public interface ISoftDelete
{
    /// <summary>
    ///  是否删除：0=未删除，1=已删除
    /// </summary>
    [Column(Name = "is_deleted", Position = -85)]
    bool IsDeleted { get; set; }

    /// <summary>
    ///  删除时间
    /// </summary>
    [Column(Name = "deleted_time", Position = -84)]
    DateTime? DeletedTime { get; set; }
}